-- GENERATED SPELL FOR [Risen Creeper] --


function spell0_16300(pUnit, Event) --@Decayed Strength,n/a--
pUnit:FullCastSpellOnTarget(6951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16300', 2000, 1)
end

function Sorts_16300(pUnit, Event)
local choix_sorts_16300 = math.random(0, 0)
if choix_sorts_16300 == 0 then
pUnit:RegisterEvent('spell0_16300', 1, 1)
end
end

function mob16300_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16300', math.random(1500, 3000), 1)
end

function mob16300_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16300_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16300_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16300, 1, 'mob16300_Action')
RegisterUnitEvent(16300, 2, 'mob16300_Leave')
RegisterUnitEvent(16300, 3, 'mob16300_Kill')
RegisterUnitEvent(16300, 4, 'mob16300_Die')
